package es.udc.emarketapp.emarket.util.exceptions;

import es.udc.fbellas.j2ee.util.exceptions.InstanceException;

public class InstanceCannotBeDeletedException extends InstanceException {

    public InstanceCannotBeDeletedException(Object key, String className) {
        super("Instance cannot be deleted", key, className);
    }

    /* Test code. Uncomment for testing. */
//    public final static void main(String[] args) {
//
//        try {
//            throw new InstanceNotFoundException("TestKey",
//                String.class.getName());
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//
//    }

}
